package sh.grapendaal.tsuushin.module.uno.engine.domain.achievement.impl;

import sh.grapendaal.tsuushin.module.uno.engine.domain.Playable.Type;
import sh.grapendaal.tsuushin.module.uno.engine.domain.achievement.Achievement;
import sh.grapendaal.tsuushin.module.uno.engine.dto.GameState;

public class IGot99ProblemsButAStackAintOneAchievement extends Achievement {

	@Override
	public String getName() {
		return "I Got 99 Problems, But A Stack Ain’t One";
	}
	
	@Override
	public String getDescription() {
		return "Play a stack.";
	}

	@Override
	public boolean isEarned(GameState gameState) {
		return gameState.getPlayed().getType() == Type.STACK;
	}
}
